package cn.tedu.vue_master.mapper;

import cn.tedu.vue_master.pojo.orderItem.model.OrderItem;
import cn.tedu.vue_master.pojo.orderItem.vo.OrderItemListItemVO;
import cn.tedu.vue_master.pojo.orderItem.vo.OrderItemStandardVO;

import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface OrderItemMapper {

    //添加订单项
    int addOrderItem(OrderItem orderItem);

    //根据Id获取单个订单项详情
    OrderItemStandardVO getStandard(Long id);

    //获取订单项列表
    List<OrderItemListItemVO> list();
}
